package org.csnb.testserver.web.controller;

import org.csnb.common.dto.TransData;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author ning
 * @createTime 2019/8/9 上午10:11
 * @description
 */
@RestController
public class TestController {

    @GetMapping("/test")
    public TransData test(){
        return new TransData(200,"test success");
    }
}